FROM nginx:1.27.3
LABEL authors="luhao"
LABEL maintainer="luhao@163.com"

# 设置时区为Asia/Shanghai，可以根据需要更改
ENV TIME_ZONE=Asia/Shanghai

# 更新时区
RUN ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo $TIME_ZONE > /etc/timezone

#/root/.npmrc

COPY ./dist /usr/share/nginx/html/frontend
COPY nginx.conf /etc/nginx/nginx.conf
